package com.xj.pattern.template.tradition;

public abstract class JdbcAbstractTemplate {
	
	public final Object execute(){
		System.out.println("连接数据库");
		doInStatement("sql");
		return "返回结果";
	}
	
	
	public abstract Object doInStatement(String res);

}
